
// 关于export default
// import AB from './B.js'

// 关于export
// import {USER_NAME} from './B.js'

import './C.js'

// console.log(count)

/*
import AB, { USER_NAME } from './B.js'
import ajax from './http.js'
console.log(AB)
console.log(USER_NAME)

ajax({
  url: '/path',
  method: 'POST'
})*/


// 不推荐
// 按需加载
/*
import * as aaa from './A.js'
console.log(aaa.fName)
console.log(aaa.lastName)
console.log(aaa.sayHi())
*/

/*
// import { firstName, lastName, sayHi } from './A.js'
// 导入的模块是常量，不能更改值

sayHi()

import {
  fName,
  lastName as lName,
  sayHi
} from './A.js'
// import { fName } from './A.js'

// console.log(firstName)
// const name = 'zhangsan'
// name = '张三'
// fName = '张三'
console.log(fName)
// console.log(lastName)
console.log(lName)*/

